package cn.bandeqing.workerWalletRecord.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum WwrType {

    cost(0, "工费"),
    recommend_reward(1, "推荐奖励"),
    other_reward(2, "其他奖励"),
    after_sale_deduction(3, "售后扣款"),
    other_deduction(4, "其他扣款"),
    cash(5, "提现"),
    ;

    @EnumValue
    private final Integer value;

    private final String label;


}